﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApplication1
{
    public class Message
    {
        /// <summary>
        /// 发送消息的客户端ID
        /// </summary>
        public string sendClientId { get; set; }
        /// <summary>
        /// 类型（join加入、send_to_single单发、send_to_group发组员、send_to_all群发、leave离开）
        /// </summary>
        public string action { get; set; }
        public string fromUserId { get; set; }
        /// <summary>
        /// 发送者
        /// </summary>
        public string toUserId { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime sendTime { get; set; }
        /// <summary>
        /// 接收时间
        /// </summary>
        public DateTime receiveTime { get; set; }
        /// <summary>
        /// 消息内容
        /// </summary>
        public string content { get; set; }
    }
}
